﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace nelech.Models.DBModel
{
    [MetadataType(typeof(PuzzleFeedbackMetadata))] 
    public partial class PuzzleFeedback
    {
        public class PuzzleFeedbackMetadata
        {
            [Required(ErrorMessage = "חובה למלא כותרת")]
            [DisplayName("כותרת")]
            [StringLength(160)]
            public object title { get; set; }

            [Required(ErrorMessage = "חובה למלא עיר")]
            [DisplayName("עיר")]
            [StringLength(160)]
            public object city { get; set; }

            [Required(ErrorMessage = "חובה למלא שם")]
            [DisplayName("שם")]
            [StringLength(160)]
            public object username { get; set; }
        }
    }
}
